|
|
|
|
|
|
||||||||||||||||||||||||||
al - Audio Library Functions gDP - DP GBI Macros gdSP - General GBI Macros gSP - SP GBI Macros gt - Turbo Microcode RDP gu - Graphics Utilities Math - Math Functions nuSys - NuSystem os - N64 Operating System sp - Sprite Library Functions uh - Host to Target IO 64DD - N64 Disk Drive
|
![]() |
gDPSetKeyRFormat#include "gbi.h" gDPSetKeyR(Gfx *gdl, cR, sR, wR) gsDPSetKeyR(cR, sR, wR)Arguments
They select the color for chroma key operation. Conceptually, the equation used for keying is: key = clamp(0.0, -abs((X - center) * scale) + width, 1.0) The alpha key is the minimum of KeyR, KeyG, or KeyB. Note The red, green, and blue chroma key information is split into two separate macros simply because they do not all fit in one. See Also gDPSetCombineKey gDPSetKeyGB
|
||||||||||||||||||||||||||||